package org.filetransfer.file_transfer_java_backend.repository;
import org.filetransfer.file_transfer_java_backend.entity.Message;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface MessageRepository extends JpaRepository<Message, Long> {
    List<Message> findByShareItem_Id(Long shareItemId);
}
